<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>add</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
</head>
<body>

{include file="common::pagestyle"}
<div class="layui-col-sm12">
  <div class="layui-card">

    <div class="layui-card-header" style="height: 39px">该用户所有信息</div>
    <div class="layui-card-body">
      <table class="layui-table layuiadmin-page-table" lay-skin="line">
        <thead>
        <tr>
          <th>用户名</th>
          <th style="text-align: center;">性别</th>
          <th style="text-align: center;">摘要</th>
          <th style="text-align: center;">金额</th>
          <th style="text-align: center;">时间</th>
          <th style="text-align: center;">电子发票</th>
          <th style="text-align: center;">报销单</th>
        </tr>
        </thead>
        <tbody>
        {volist name='res' id='v' empty="$empty"}
            <tr>
              <td><span style="color: deeppink">{$v.name}</span></td>
              <td style="text-align: center;"><span>{$v.sex==1?'男':'女'}</span></td>
              <td style="text-align: center;"><span>{$v.content}</span></td>
              <td style="text-align: center;"><span>￥{$v.money}</span></td>
              <td style="text-align: center;"><span>{$v.create_time}</span></td>
              <td style="text-align: center;">
                {if condition = "$v.electronic_invoice neq '' "}
                  <?php $str = 'http://'; ?>
                  <img src="{$str.$_SERVER['HTTP_HOST'].$v.electronic_invoice}">
                {else/}
                  暂无图片
                {/if}
              </td>
              <td style="text-align: center;">
                {if condition = "$v.reimbursement neq '' "}
                  <img src="{$v.reimbursement}">
                {else/}
                  暂无图片
                {/if}
              </td>
            </tr>
        {/volist}
        </tbody>
      </table>
      <div class="page" style="margin:10px">{$res|raw}</div>
    </div>
  </div>
</div>




  <script src="../../../layuiadmin/layui/layui.js"></script>
  <script src="http://libs.baidu.com/jquery/2.1.4/jquery.min.js"></script>
  <script>
    layui.use(['form', 'layer', 'upload'], function () {
      $ = layui.jquery;
      form = layui.form;
      upload = layui.upload;
      layer = layui.layer;

    })

  </script>
</body>
</html>